<template>
  <div class="demo-image__preview">
    <el-image
      style="width: 100px; height: 100px"
      :src="url"
      :preview-src-list="srcList"
    >
    </el-image>
  </div>
</template>

<script>
import * as constant from "@/store/yg/common/constant";

export default {
  props: ["row", "data", "more"],
  data() {
    return {
      fileUrl: constant.FILE_SERVER,
      url:
        "https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg",
      srcList: [
        "https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"
      ]
    };
  },
  created() {},
  mounted() {
    this.url = this.fileUrl + this.data.rechargePicture;
    this.srcList[0] = this.fileUrl + this.data.rechargePicture;
  },
  methods: {}
};
</script>
